package hu.bme.mit.Nonogram;
import java.util.LinkedList;

import javax.ejb.Local;

@Local
public interface NTableManagerBeanLocal {
	public long createNonogram(LinkedList<String> text);
	public LinkedList<String> getNonogramByID(long id);
	public LinkedList<String> generateHeaderByRow(long id, int rowIndex);
	public LinkedList<String> getMarkingInString(String [] marked);
	public boolean validateRow(long id, String rowText, int rowIndex);
	LinkedList<String> generateHeaderByColumn(long id, int columnIndex);
	boolean validateColumn(long id, String rowText, int columnIndex);
	LinkedList<String> getRandomNonogram();
	int getNbrOfRowsInNonogram(long id);
	int getNbrOfColsInNonogram(long id);
	LinkedList<LinkedList<String>> getColumnHeaderByID(long id);
	LinkedList<LinkedList<String>> getRowHeaderByID(long id);
	boolean checkNonogram(long id, LinkedList<String> current);
}
